package com.mf.entity;

import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * SpecImage表联合主键
 *
 * @author: Jiang Runqing
 * @date: 2018-09-09 11:05
 */
@Embeddable
public class SpecImageId implements Serializable {


    private int goodsId;
    private int specImageId;

    public SpecImageId(int goodsId, int specImageId) {
        this.goodsId = goodsId;
        this.specImageId = specImageId;
    }

    public SpecImageId() {
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getSpecImageId() {
        return specImageId;
    }

    public void setSpecImageId(int specImageId) {
        this.specImageId = specImageId;
    }
}
